package com.wyp168.socket.QQ.qqclient.common;

import java.io.Serializable;

/**
 * @ClassName User
 * @Title QQ用户信息
 * @Description 用于存储QQ用户相关信息
 * @Author wyp168
 * @Date 2022/10/29 14:45
 */
public class User implements Serializable {
    //实现系列化的唯一标识
    private static final long serialVersionUID = 1L;

    private String userId;  //用户id/用户名

    private String password;    //用户登录密码

    public User() {
    }

    public User(String userId, String password) {
        this.userId = userId;
        this.password = password;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
